/*
 * @Description: 员工信息
 * @Author: zhr
 */
import request from "@/utils/request";

// 新增员工培训经历
export function addTrainExperience(data) {
  return request({
    url: "/hr/api/v1/empTrains",
    method: "post",
    data: data
  });
}

// 删除员工培训经历
export function delTrainExperience(data) {
  return request({
    url: "/hr/api/v1/empTrains/deleteEmpTrain/" + data.id,
    method: "delete",
    data: data
  });
}
// 修改员工培训经历
export function editTrainExperience(data) {
  return request({
    url: "/hr/api/v1/empTrains",
    method: "put",
    data: data
  });
}
